<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        
    </style>
</head>
<body>
    <form remote="http://localhost:3000/api/login">
        用户名：<input type="text" name="usernamm" required><br>
        密码：<input type="text" name="password" required id="pw"><br>
        重复密码：<input type="text" name="password" required equalTo="#pw"><br>
        手机号：<input type="text" name="tel" maxlength="11" minlength="11" digits=true><br>
        <input type="submit" value="提交">
    </form>
</body>
<script src="../jquery.js"></script>
<script src="./libs/jquery.validate.js"></script>
<script src="./libs/jquery.validate.messages_zh.js"></script>
<script>

    $("form").validate();
    
</script>
</html>